package org.example.mapper;

import org.example.pojo.OperateLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.example.pojo.OperateLog;

import java.util.List;

@Mapper
public interface OperateLogMapper {

    //插入日志数据
    public void insert(OperateLog log);

    /*
     * 查询操作记录
     * */
    List<OperateLog> list();

}
